package com.yunxi.dao.vehicle;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.vehicle.VehiclePackage;
import com.yunxi.model.vehicle.VehiclePackageCustomer;
import com.yunxi.vehicle.pojo.VehiclePackageConfigForAppRespVO;
import com.yunxi.vehicle.pojo.VehiclePackageForAppReqVO;
import com.yunxi.vehicle.pojo.VehiclePackageForAppRespVO;
import com.yunxi.vehicle.pojo.VehiclePackageRespVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author GUAN
 * @since 2019-05-22
 */
public interface VehiclePackageMapper extends BaseMapperPlus<VehiclePackage> {
    List<VehiclePackageForAppRespVO> queryVehiclePackageByApp(VehiclePackageForAppReqVO vo);
    List<VehiclePackageForAppRespVO> queryVehiclePackageByAppLast(VehiclePackageForAppReqVO vo);
    List<VehiclePackageCustomer> queryVehiclePackage(@Param("productCode") String productCode);
    List<VehiclePackageConfigForAppRespVO> queryVehiclePackageConfigByApp();
    List<VehiclePackageForAppRespVO> queryTest();

    VehiclePackageForAppRespVO strByNodeCodeIn(@Param("customSqlStr") String customSqlStr);
}
